package com.atguigu.lease.web.app.service;

import com.atguigu.lease.model.entity.RoomInfo;
import com.atguigu.lease.web.app.vo.room.RoomDetailVo;
import com.atguigu.lease.web.app.vo.room.RoomItemVo;
import com.atguigu.lease.web.app.vo.room.RoomQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author xiongkunYang
 * @description 针对表【room_info(房间信息表)】的数据库操作Service
 * @createDate 2025-04-19 22:27:34
 */
public interface RoomInfoService extends IService<RoomInfo> {

    IPage<RoomItemVo> roomItemPageByQuery(long current, long size, RoomQueryVo queryVo);

    RoomDetailVo getRoomDetailById(Long id);

    IPage<RoomItemVo> roomItemPageByApartmentId(long current, long size, Long apartmentId);
}
